package com.jiutong.meipengdai.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by suxi on 2017/8/16.
 */

public class CityListRespon extends BaseRespond implements Serializable{

    private List<CityBeanc> data;

    public List<CityBeanc> getData() {
        return data;
    }

    public void setData(List<CityBeanc> data) {
        this.data = data;
    }

    public static class CityBeanc implements Serializable{
        /**
         * areaList : [{"areaName":"东城区","areaPercentage":1,"averagePrice":50000,"firstLetter":"D","id":3,"isOpen":true,"latitude":"39.93157","levelType":4,"longitude":"116.41005","mergerName":"中国,北京,北京市,东城区","parentId":2,"phoneCode":"010","pinyin":"dongcheng","shortName":"东城","sortNumber":2,"zipCode":"100010"}]
         * areaName : 北京市
         * areaType : 3
         * averagePrice : 50000.0
         * id : 2
         * latitude : 39.904989
         * longitude : 116.405285
         * parentId : 1
         */

        private String areaName;
        private int areaType;
        private double averagePrice;
        private int id;
        private String latitude;
        private String longitude;
        private int parentId;
        private List<AreaBean> areaList;

        public String getAreaName() {
            return areaName;
        }

        public void setAreaName(String areaName) {
            this.areaName = areaName;
        }

        public int getAreaType() {
            return areaType;
        }

        public void setAreaType(int areaType) {
            this.areaType = areaType;
        }

        public double getAveragePrice() {
            return averagePrice;
        }

        public void setAveragePrice(double averagePrice) {
            this.averagePrice = averagePrice;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getLatitude() {
            return latitude;
        }

        public void setLatitude(String latitude) {
            this.latitude = latitude;
        }

        public String getLongitude() {
            return longitude;
        }

        public void setLongitude(String longitude) {
            this.longitude = longitude;
        }

        public int getParentId() {
            return parentId;
        }

        public void setParentId(int parentId) {
            this.parentId = parentId;
        }

        public List<AreaBean> getAreaList() {
            return areaList;
        }

        public void setAreaList(List<AreaBean> areaList) {
            this.areaList = areaList;
        }

        public static class AreaBean implements Serializable{
            /**
             * areaName : 东城区
             * areaPercentage : 1
             * averagePrice : 50000.0
             * firstLetter : D
             * id : 3
             * isOpen : true
             * latitude : 39.93157
             * levelType : 4
             * longitude : 116.41005
             * mergerName : 中国,北京,北京市,东城区
             * parentId : 2
             * phoneCode : 010
             * pinyin : dongcheng
             * shortName : 东城
             * sortNumber : 2
             * zipCode : 100010
             */

            private String areaName;
            private int areaPercentage;
            private double averagePrice;
            private String firstLetter;
            private int id;
            private boolean isOpen;
            private String latitude;
            private int levelType;
            private String longitude;
            private String mergerName;
            private int parentId;
            private String phoneCode;
            private String pinyin;
            private String shortName;
            private int sortNumber;
            private String zipCode;

            public String getAreaName() {
                return areaName;
            }

            public void setAreaName(String areaName) {
                this.areaName = areaName;
            }

            public int getAreaPercentage() {
                return areaPercentage;
            }

            public void setAreaPercentage(int areaPercentage) {
                this.areaPercentage = areaPercentage;
            }

            public double getAveragePrice() {
                return averagePrice;
            }

            public void setAveragePrice(double averagePrice) {
                this.averagePrice = averagePrice;
            }

            public String getFirstLetter() {
                return firstLetter;
            }

            public void setFirstLetter(String firstLetter) {
                this.firstLetter = firstLetter;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public boolean isIsOpen() {
                return isOpen;
            }

            public void setIsOpen(boolean isOpen) {
                this.isOpen = isOpen;
            }

            public String getLatitude() {
                return latitude;
            }

            public void setLatitude(String latitude) {
                this.latitude = latitude;
            }

            public int getLevelType() {
                return levelType;
            }

            public void setLevelType(int levelType) {
                this.levelType = levelType;
            }

            public String getLongitude() {
                return longitude;
            }

            public void setLongitude(String longitude) {
                this.longitude = longitude;
            }

            public String getMergerName() {
                return mergerName;
            }

            public void setMergerName(String mergerName) {
                this.mergerName = mergerName;
            }

            public int getParentId() {
                return parentId;
            }

            public void setParentId(int parentId) {
                this.parentId = parentId;
            }

            public String getPhoneCode() {
                return phoneCode;
            }

            public void setPhoneCode(String phoneCode) {
                this.phoneCode = phoneCode;
            }

            public String getPinyin() {
                return pinyin;
            }

            public void setPinyin(String pinyin) {
                this.pinyin = pinyin;
            }

            public String getShortName() {
                return shortName;
            }

            public void setShortName(String shortName) {
                this.shortName = shortName;
            }

            public int getSortNumber() {
                return sortNumber;
            }

            public void setSortNumber(int sortNumber) {
                this.sortNumber = sortNumber;
            }

            public String getZipCode() {
                return zipCode;
            }

            public void setZipCode(String zipCode) {
                this.zipCode = zipCode;
            }
        }
    }
}
